package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-21 15:34:38
 **/
public enum DeptMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
    DEPT_ID("dept_id"),
    PARENT_ID("parent_id"),
    ANCESTORS("ancestors"),
    DEPT_NAME("dept_name"),
    ORDER_NUM("order_num"),
    LEADER("leader"),
    PHONE("phone"),
    EMAIL("email"),
    STATUS("status"),
    DEL_FLAG("del_flag"),
    CREATE_BY("create_by"),
    GMT_CREATE("gmt_create"),
    MODIFIED_BY("modified_by"),
    GMT_MODIFIED("gmt_modified"),
    CREATE_BY_NAME("create_by_name"),
    MODIFIED_BY_NAME("modified_by_name");

    private final String colName;

    DeptMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}

